Skip to content

Update social-auth-core requirement from >=3.3.0 to >=7.0.0 - #183

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/social-auth-core-gte-7.0.0
Closed

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/social-auth-core-gte-7.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 13, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on social-auth-core to permit the latest version.

Release notes

Sourced from social-auth-core's releases.

7.0.0

Security

  • Bind SAML responses to the initiating browser's pending AuthnRequest instead of restoring a session selected through RelayState. A same-origin return page supports SameSite=Lax cookies across framework integrations. IdP-initiated login is now disabled by default and requires explicit opt-in. In-progress SAML logins must restart after upgrading.
  • Bind OpenID assertions to the initiating browser session instead of restoring a session selected by the assertion's signed return URL. In-progress OpenID logins must restart after upgrading.

Added

  • Add a BaseAuth.get_provider_error() hook for classifying provider errors in callbacks and HTTP responses.
  • Add a Casdoor OpenID Connect backend for self-hosted Casdoor servers, with PKCE enabled by default.

Changed

  • BaseAuth.authenticate() now runs the pipeline on the backend passed in the backend keyword argument through its new run_authentication() method. This preserves the original backend's state when a framework such as Django calls authenticate() on a separate backend instance. Passing a strategy different from the supplied backend's strategy now raises AuthConfigurationError; create the backend with the intended strategy.
  • Assigning BaseAuth.strategy is deprecated and emits a DeprecationWarning. Type checkers now treat it as read-only. Create the backend with the intended strategy instead.
  • Make backends and strategies generic in their framework response type, preserving that type through authentication actions and decorated partial pipeline steps, including steps returning HTML responses.

Fixed

  • Bitbucket's rejection of a revoked refresh token (400 invalid_request) or of a deactivated user's refresh token (401 User is inactive) now raises AuthCredentialError with reauthentication_required instead of AuthProviderError or AuthCanceled.
  • Classify OAuth invalid_request failures as AuthConfigurationError.
  • Log configuration guidance when Azure AD returns AADSTS9002325, explaining that server-side callbacks must use the Web platform in the app registration.

Removed

  • Drop support for Python 3.10. Python 3.11 or newer is now required.
  • Remove BaseStrategy.get_session_id(), BaseStrategy.restore_session(), and BaseStrategy.SESSION_SAVE_KEY. Custom strategies and backends using them must migrate to browser-bound callback correlation.
Changelog

Sourced from social-auth-core's changelog.

7.0.0 - 2026-11-09

Security

  • Bind SAML responses to the initiating browser's pending AuthnRequest instead of restoring a session selected through RelayState. A same-origin return page supports SameSite=Lax cookies across framework integrations. IdP-initiated login is now disabled by default and requires explicit opt-in. In-progress SAML logins must restart after upgrading.
  • Bind OpenID assertions to the initiating browser session instead of restoring a session selected by the assertion's signed return URL. In-progress OpenID logins must restart after upgrading.

Added

  • Add a BaseAuth.get_provider_error() hook for classifying provider errors in callbacks and HTTP responses.
  • Add a Casdoor OpenID Connect backend for self-hosted Casdoor servers, with PKCE enabled by default.

Changed

  • BaseAuth.authenticate() now runs the pipeline on the backend passed in the backend keyword argument through its new run_authentication() method. This preserves the original backend's state when a framework such as Django calls authenticate() on a separate backend instance. Passing a strategy different from the supplied backend's strategy now raises AuthConfigurationError; create the backend with the intended strategy.
  • Assigning BaseAuth.strategy is deprecated and emits a DeprecationWarning. Type checkers now treat it as read-only. Create the backend with the intended strategy instead.
  • Make backends and strategies generic in their framework response type, preserving that type through authentication actions and decorated partial pipeline steps, including steps returning HTML responses.

Fixed

  • Bitbucket's rejection of a revoked refresh token (400 invalid_request) or of a deactivated user's refresh token (401 User is inactive) now raises AuthCredentialError with reauthentication_required instead of AuthProviderError or AuthCanceled.
  • Classify OAuth invalid_request failures as AuthConfigurationError.
  • Log configuration guidance when Azure AD returns AADSTS9002325, explaining that server-side callbacks must use the Web platform in the app registration.

Removed

  • Drop support for Python 3.10. Python 3.11 or newer is now required.
  • Remove BaseStrategy.get_session_id(), BaseStrategy.restore_session(), and BaseStrategy.SESSION_SAVE_KEY. Custom strategies and backends using them

... (truncated)

Commits
  • 272e672 chore: release 7.0.0
  • f22fe6c chore(deps): update pre-commit hook kjanat/actionlint to v1.17.1
  • d4aee99 fix(types): preserve framework response types through authentication (#2163)
  • d609410 fix(deps): update dependency types-oauthlib to v4.0.0.20261107
  • 6e04704 fix(deps): update dependency ty to v0.0.99
  • e0ef019 fix(deps): update dependency ty to v0.0.98
  • 3bb9783 chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.17.4
  • 0c41d40 chore(deps): update python:3.15-slim-bookworm docker digest to 96599df
  • 3150dba chore(deps): update github/codeql-action digest to 33d7b85
  • 6253f53 fix(deps): update dependency coverage to v7.17.2
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [social-auth-core](https://github.com/python-social-auth/social-core) to permit the latest version.
- [Release notes](https://github.com/python-social-auth/social-core/releases)
- [Changelog](https://github.com/python-social-auth/social-core/blob/master/CHANGELOG.md)
- [Commits](python-social-auth/social-core@3.3.0...7.0.0)

---
updated-dependencies:
- dependency-name: social-auth-core
  dependency-version: 7.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Nov 13, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #185.

@dependabot dependabot Bot closed this Nov 16, 2026
@dependabot
dependabot Bot deleted the dependabot/pip/social-auth-core-gte-7.0.0 branch November 16, 2026 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants